const Key = 'sl-logistics_router'

export function getUserRouter() {
  return JSON.parse(localStorage.getItem(Key))
}

export function setUserRouter(Router) {
  return localStorage.setItem(Key, JSON.stringify(Router))
}

export function removeUserRouter() {
  return localStorage.removeItem(Key)
}
